The DMI data VirtualBox provides to guests can be changed for a specific VM. Use the following commands to configure the DMI BIOS information:
VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVendor" \ "Host BIOS Vendor" VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSVersion" \ "Host BIOS Version" VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseDate" \ "Host BIOS Release Date" VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMajor" \ 1 VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSReleaseMinor" \ 2 VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMajor" \ 3 VBoxManage setextradata "My VM" \ "VBoxInternal/Devices/pcbios/0/Config/DmiBIOSFirmwareMinor" \ 4
If a DMI string is not set, the default value of VirtualBox
is used. To set an empty string use
"<EMPTY>"
.
Changing this information can be necessary to provide the DMI information of the host to the guest to prevent Windows from asking for a new product key. On Linux hosts the DMI BIOS information can be obtained with
dmidecode -t0
and the DMI system information can be obtained with
dmidecode -t1